FLAGS = -O2 -Wall
CC = g++

OBJ =  dgamma.o machcon.o zbsubs.o bessel.o 

HEAD =  bessel.h 

main : main.cpp $(OBJ) $(HEAD)
	$(CC) $(FLAGS) main.cpp $(OBJ)  -lg2c -o main 

complex_bessel.o: bessel.cpp bessel.h
	$(CC) -c bessel.cpp

%o: %f
	f77 -c $<

